package com.wm.blog_config.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：wm_yu
 * @description : 邮件配置读取
 * @createTime ：2020/5/1
 */
@ConfigurationProperties(prefix = "spring.mail")
@Data
@Configuration
public class MailProperties {

    /**
     * 邮件发送人
     */
    private String username;

}
